package com.service;

import com.pojo.Button;
import com.pojo.Resources;
import com.pojo.User;
import com.util.IninJson;
import com.util.LayuiTable;
import com.vo.Menus;
import com.vo.ResourcesDtree;

import java.util.List;

public interface ResourcesService {
    public List<Resources> findAll();

    public List<Resources> findAll(int uid);

    public List<Resources> findAll(int uid,int mid);

    public List<Resources> findAllResources(int mtype);

    public int addServiceResources(Resources resources);

    public IninJson findMenuAll(int uid);

    public  Resources findResourcesById( int mid);

    public  List<Button> getFindButtonAll();

    public LayuiTable<Menus> allResouce();

    public LayuiTable<ResourcesDtree> getMenuDtree();
}
